package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.ExpenseCalendar;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ExpenCalendDao {

    //消费记录添加
    boolean ecInsert(ExpenseCalendar excalend);

    //充值记录添加
    boolean etInsert(ExpenseCalendar excalend);


     //消费记录查询
    List<ExpenseCalendar> ecQuery();
    //缴费记录查询
    List<ExpenseCalendar> etQuery();

    //患者卡号消费记录查询
    List<ExpenseCalendar> eclistByid(Integer visid);

    List<ExpenseCalendar> selectMProfit();

    //患者卡号缴费记录查询
    List<ExpenseCalendar> etlistByid(Integer visid);
}
